package cn.easy.kitchen.domain;

import cn.easy.base.domain.core.AtEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

@Entity
@Table(name = "ck_bom")
public class Bom extends AtEntity {
	/**编码*/
	private String no;
	/**目标物料id*/
	private String destMaterialId;
	/**原物料编码id*/
	private String srcMaterialId;
	/**原物料重量(g)*/
	private BigDecimal srcMaterialWeight;
	/**出成率*/
	private BigDecimal yield;
	/**BOM级别*/
	private String bomLevel;
	/**其他成本(元)*/
	private BigDecimal otherCosts;
	/**租户编码*/
	private String saasNo;

	public String getNo() { return no; }
	public void setNo(String no) { this.no = no; }

	public String getDestMaterialId() {
		return destMaterialId;
	}

	public void setDestMaterialId(String destMaterialId) {
		this.destMaterialId = destMaterialId;
	}

	public String getSrcMaterialId() {
		return srcMaterialId;
	}

	public void setSrcMaterialId(String srcMaterialId) {
		this.srcMaterialId = srcMaterialId;
	}

	public BigDecimal getSrcMaterialWeight() {
		return srcMaterialWeight;
	}

	public void setSrcMaterialWeight(BigDecimal srcMaterialWeight) {
		this.srcMaterialWeight = srcMaterialWeight;
	}

	public BigDecimal getYield() {
		return yield;
	}

	public void setYield(BigDecimal yield) {
		this.yield = yield;
	}

	public BigDecimal getOtherCosts() {
		return otherCosts;
	}

	public void setOtherCosts(BigDecimal otherCosts) {
		this.otherCosts = otherCosts;
	}

	public String getBomLevel() {
		return bomLevel;
	}

	public void setBomLevel(String bomLevel) {
		this.bomLevel = bomLevel;
	}

	public String getSaasNo() { return saasNo; }
	public void setSaasNo(String saasNo) { this.saasNo = saasNo; }

}
